package com.xxy.services;

import com.xxy.pojo.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【category】的数据库操作Service
* @createDate 2024-01-28 17:09:27
*/
public interface CategoryService extends IService<Category> {

    void add(String category_name, String category_alias);

    List<Category> getCategory(Integer id);

    Category findById(Integer id);

    void update(Category category);

    void delete(Integer id);
}
